Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

4.2K
Visualizações
Your hardware does not support this application. Failed to load "libmain.so"

I tried to add Unity as a library to Android Studio and I got this error when I click on button that take me to unity app, there is no compile or build error. unity app works fine alone, also android app. this problem occurs when i tried to embedded unity in android this is the error

Failed to load "libmain.so"

I tried these solutions and nothing works with me: 1-run the app with many devices and emulators 2-change player sittings on unity 3-add this to App level's gradle

defaultConfig {
    ndk {
        abiFilters 'armeabi-v7a', 'x86'
    }
}

4-add this to Module's build.gradle

splits {
    abi {
        enable true
        reset()
        include 'x86', 'armeabi-v7a'
        universalApk true
    }
}
over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

the solution is:

1- make sure you checked this target architecture form Unity player settings before exporting your Unity app.

2- when you open exported unity app on android studio go to App's level build.gradle and copy ndk block it will be similar to this.

 ndk {
        abiFilters 'armeabi-v7a', 'arm64-v8a'
    }

3- paste it on defaultConfig block on the targeted android app.

4- on strings.xml file on the targeted android app paste this.

<string name="game_view_content_description">Game view</string>
over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda